package com.example.localizadorv4;

class Base {

	private String nombre;
	private int rssi;
	private double n;
	private int x;
	private int y;
	private double dist;

	public Base() {
	}

	public Base(String nombre, int rssi, double n, int x, int y, double dist) {
		this.nombre = nombre;
		this.rssi = rssi;
		this.n=n;
		this.x=x;
		this.y=y;
		this.dist=dist;
	}

	
	public String getNombre() {
		return nombre;
	}

	public void setNombre(String nombre) {
		this.nombre = nombre;
	}

	public int getRssi() {
		return rssi;
	}

	public void setRssi(int rssi) {
		this.rssi = rssi;
	}
	
	public void setN(double n){
		this.n=n;
	}
	public double getN(){
		return n;
	}
	
	public void setX(int x){
		this.x=x;
	}
	public int getX(){
		return x;
	}
	public void setY(int y){
		this.y=y;
	}
	public int getY(){
		return y;
	}
	public void setDist(Double dist){
		this.dist=dist;
	}
	public double getDist(){
		return dist;
	}

	@Override
	public String toString() {
		return this.getNombre() + "  -  " + this.getRssi();
	}
}
